package com.jae.model.user;

import lombok.Data;
import org.springframework.security.core.GrantedAuthority;

import java.io.Serializable;
import java.util.Collection;
import java.util.Date;
import java.util.List;

@Data
public class User implements Serializable {

    private Integer user_id;
    private String username;
    private String password;
    private Date created_time;
    private Date last_login_time;
    private Integer state;
    private Integer is_deleted;
    Collection<? extends GrantedAuthority> authorities;
    private List<String> roles;
}
